package us.gaaoc.framework.model;

import java.util.List;

/**
 * 
 * @author hea
 * Date  May 18, 2007
 */
public class DocumentInstance implements java.io.Serializable {
	
	/** Default Serial Version UID */
	private static final long serialVersionUID = 1L;
	private int code;
	private String description;
	private DocumentType documentType;
	private Court court;
	private DocumentLocalCode docLocalCode;
	private byte[] styleSheet;
	private boolean requiresAttorneySignature;
	private boolean requiresClerkSignature;
	private boolean requiresAgentSignature;
	
	public boolean isRequiresAttorneySignature() {
		return requiresAttorneySignature;
	}
	
	public boolean isRequiresClerkSignature() {
		return requiresClerkSignature;
	}
	
	public void setRequiresAttorneySignature(boolean requiresAttorneySignature) {
		this.requiresAttorneySignature = requiresAttorneySignature;
	}
	
	public void setRequiresClerkSignature(boolean requiresClerkSignature) {
		this.requiresClerkSignature = requiresClerkSignature;
	}
	
	private List<Documents> documents;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public Court getCourt() {
		return court;
	}
	public void setCourt(Court court) {
		this.court = court;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public DocumentLocalCode getDocLocalCode() {
		return docLocalCode;
	}
	public void setDocLocalCode(DocumentLocalCode docLocalCode) {
		this.docLocalCode = docLocalCode;
	}
	
	public List<Documents> getDocuments() {
		return documents;
	}
	public void setDocuments(List<Documents> documents) {
		this.documents = documents;
	}
	public DocumentType getDocumentType() {
		return documentType;
	}
	public void setDocumentType(DocumentType documentType) {
		this.documentType = documentType;
	}
	public byte[] getStyleSheet() {
		return styleSheet;
	}
	public void setStyleSheet(byte[] styleSheet) {
		this.styleSheet = styleSheet;
	}

	public void setRequiresAgentSignature(boolean requiresAgentSignature) {
		this.requiresAgentSignature = requiresAgentSignature;
	}
	
	public boolean isRequiresAgentSignature() {
		return requiresAgentSignature;
	}
	
}
